package com.SoftwareEngineering.pojo;

@Lazy
@Bean
public class User {
    private int id;//用户id
    private String name;//用户名
    private String passwd;//密码
    private Boolean status;//登录状态
    private int cahtRoomId;//当前聊天室


    public User() {

    }

    public User(String name, String passwd) {
        this.name = name;
        this.passwd = passwd;
    }
    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public int getCahtRoomId() {
        return cahtRoomId;
    }

    public void setCahtRoomId(int cahtRoomId) {
        this.cahtRoomId = cahtRoomId;
    }
}
